@charset "UTF-8";
@import './variables';
@mixin text-ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@mixin ellipsis4line($lineCount: 2) {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: $lineCount;
  -webkit-box-orient: vertical;
}

// clear fix for float
@mixin clearfix($direction: both) {
  &:after {
    display: block;
    clear: $direction;
    content: '';
  }
}

@mixin mask() {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

@mixin textShadow() {
  text-shadow: 0 0 1px #000;
}

@mixin inCenter() {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@mixin standardLRPadding($val) {
  padding-left: $val;
  padding-right: $val;
}
